package com.dmxh.api;

import com.dmxh.pojo.TbItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient("dongdongshop-brand-service")
public interface ItemAPI {

    @PostMapping("/item/queryItemBySeller")
    TbItem queryItemSeller(@RequestParam Long itemId);

    @PutMapping("/item/updateItemNumById")
    public void updateItemNumById(@RequestBody List<TbItem> itemList);
}
